<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../include/taglib.jsp" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>优惠推送信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<%@ include file="../include/jsCss.jsp" %> 
  </head>
  
  <body>
     <form action="" method="post">
			<table border="1" width="110%">
				<tr>
					<th colspan="13"><h2>优惠推送信息</h2>
					</th>
				</tr>
				<tr>
					<td style="border:0px;" colspan="2">优惠推送名称：</td>
					<td style="border:0px;"><input type="text" name=""/></td> 
					<td style="border:0px;"><input type="submit" value="搜索" /></td>
					<td  colspan="10" style="border:0px;text-align:right;padding-right:20px;">
					 	<a href="coupons/coupons!addCoupone.html">添加优惠推送信息</a>
					</td>
				</tr>
				<tr> 
					<td>编号</td>
					<td>优惠名称</td>
					<td>优惠编号</td>
					<td>优惠金额</td> 
					<td>优惠份数</td> 
					<td>优惠剩余份数</td> 
					<td>开始时间</td> 
					<td>结束时间</td>
					
					<td>优惠类型</td>
					<td>说明</td>
					<td>状态</td>
				</tr>
				
				<s:iterator value="listCouponseDto" status="status">
					<tr> 
						<td>
							<s:property value="#status.index+1"/>
						</td>
						<td><s:property value="name" />
						</td>
						<td><s:property value="couponsNo" />
						</td>
						<td><s:property value="amount" /><!-- 优惠金额 -->
						</td> 
						<td><s:property value="numbers" />
						</td> 
						<td><s:property value="numbersRemain" /> <!-- 优惠剩余份数 -->
						</td>
						<td><s:property value="beginDate" /> <!-- 开始时间 -->
						</td>
						<td><s:property value="endDate" /> <!-- 结束时间 -->
						</td>
						
						<td><s:property value="couponsType" />
						</td>
						<td><s:property value="status" />
						</td>
						<td><s:property value="remark" />
						</td>
						<td>
							<a href="menu!menuUpdate.html?menuId=<s:property value="menuId"/>">修改 </a> |
							<a href="javascript:deleteMenu(<s:property value="menuId"/>)">删除</a>
						</td>
					</tr>
				</s:iterator>
			</table>
			<div>
				<jsp:include page="../include/page.jsp"></jsp:include> 
			</div>
	  </form>
  </body>
</html>
